package zbum.issue.code.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import zbum.issue.code.service.CodeService;

@Service("codeService")
public class CodeServiceImpl implements CodeService {
	
	@Resource(name="codeDAO")
	private CodeDAO codeDAO;
	
	@Resource(name="codeGroupDAO")
	public CodeGroupDAO codeGroupDAO;

	public List selectCodeListByCodeGroupId(String CodeGroupId)	throws Exception {
		return codeDAO.selectCodeListByCodeGroupId(CodeGroupId);
	}
	
	public List selectCodeGroupList()throws Exception {
		return codeGroupDAO.selectCodeGroupList();
	}

}
